﻿
namespace Streambolics.App.Gpl
{
    public static class DiagExGlue
    {
        private static DiagExRegistration _Registration;
        private static DiagExLogWriter _LogWriter;
        private static DiagExObserver _Observer;
        
        public static void Initialize ()
        {
            _Registration = new DiagExRegistration ();
            _LogWriter = new DiagExLogWriter ();
            _Observer = new DiagExObserver ();

            _LogWriter.AddParent (_Registration);
            _LogWriter.Start ();

            _Observer.AddParent (_Registration);
            _Observer.Start ();

        }
    }
}
